﻿using System.Collections.Generic;
using BO;
using Model;

namespace Controller
{
    /// <summary>
    /// Summary description for VYC27Controller
    /// </summary>
    public class VYC27Controller
    {
        private static VYC27BO _vyc27Bo;
        public VYC27Controller()
        {
            _vyc27Bo = new VYC27BO();
        }
        public List<ModelVYC27> GetAllList()
        {
            return _vyc27Bo.GetAllList();
        }
        public int AddData(ModelVYC27 model)
        {
            return _vyc27Bo.AddData(model);
        }
        public int EditData(ModelVYC27 model)
        {
            return _vyc27Bo.EditData(model);
        }
        public int DeleteData(ModelVYC27 model)
        {
            return _vyc27Bo.DeleteData(model);
        }
        public List<ModelVYC27> GetById(int id)
        {
            return _vyc27Bo.GetById(id);
        }
    }
}